package com.dmap.community.bo.old.User;

import java.io.Serializable;

public class User implements Serializable {
    /**
     * 主键id
     * 表字段 : user.id
     */
    private Long id;

    /**
     * 记录创建时间戳，单位秒
     * 表字段 : user.createTime
     */
    private Long createtime;

    /**
     * 用户账号
     * 表字段 : user.account
     */
    private String account;

    /**
     * 用户密码(MD5)
     * 表字段 : user.password
     */
    private String password;

    /**
     * 用户手机号
     * 表字段 : user.mobile_num
     */
    private String mobileNum;

    /**
     * 用户昵称
     * 表字段 : user.nickName
     */
    private String nickname;

    /**
     * 头像图片URL地址
     * 表字段 : user.portrait_url
     */
    private String portraitUrl;

    /**
     * 用户性别.0-女，1-男，2-保密
     * 表字段 : user.gender
     */
    private Byte gender;

    /**
     * 用户生日时间戳(s)
     * 表字段 : user.birthday
     */
    private Long birthday;

    /**
     * 体重KG
     * 表字段 : user.weight
     */
    private Integer weight;

    /**
     * 身高CM
     * 表字段 : user.height
     */
    private Integer height;

    /**
     * 用户姓名
     * 表字段 : user.name
     */
    private String name;

    /**
     * 身份标识号(身份证)
     * 表字段 : user.id_number
     */
    private String idNumber;

    /**
     * 用户国籍代码
     * 表字段 : user.country
     */
    private String country;

    /**
     * 用户国籍名
     * 表字段 : user.country_text
     */
    private String countryText;

    /**
     * 用户省份代码
     * 表字段 : user.province
     */
    private String province;

    /**
     * 用户省份名称
     * 表字段 : user.province_text
     */
    private String provinceText;

    /**
     * 用户城市代码
     * 表字段 : user.city
     */
    private String city;

    /**
     * 用户城市名称
     * 表字段 : user.city_text
     */
    private String cityText;

    /**
     * 用户区县代码
     * 表字段 : user.district
     */
    private String district;

    /**
     * 用户区县名称
     * 表字段 : user.district_text
     */
    private String districtText;

    /**
     * 用户的详细联系地址
     * 表字段 : user.detail_addr
     */
    private String detailAddr;

    /**
     * 个性签名
     * 表字段 : user.signature
     */
    private String signature;

    /**
     * 用户来源，0-宝宝时刻，1-失眠物语
     * 表字段 : user.reg_source
     */
    private Integer regSource;

    /**
     * 账号状态，0有效，1无效锁定，2删除
     * 表字段 : user.status
     */
    private Integer status;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table user
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user
     *
     * @mbggenerated
     */
    public User(Long id, Long createtime, String account, String password, String mobileNum, String nickname, String portraitUrl, Byte gender, Long birthday, Integer weight, Integer height, String name, String idNumber, String country, String countryText, String province, String provinceText, String city, String cityText, String district, String districtText, String detailAddr, String signature, Integer regSource, Integer status) {
        this.id = id;
        this.createtime = createtime;
        this.account = account;
        this.password = password;
        this.mobileNum = mobileNum;
        this.nickname = nickname;
        this.portraitUrl = portraitUrl;
        this.gender = gender;
        this.birthday = birthday;
        this.weight = weight;
        this.height = height;
        this.name = name;
        this.idNumber = idNumber;
        this.country = country;
        this.countryText = countryText;
        this.province = province;
        this.provinceText = provinceText;
        this.city = city;
        this.cityText = cityText;
        this.district = district;
        this.districtText = districtText;
        this.detailAddr = detailAddr;
        this.signature = signature;
        this.regSource = regSource;
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user
     *
     * @mbggenerated
     */
    public User() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.id
     *
     * @return the value of user.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.id
     *
     * @param id the value for user.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.createTime
     *
     * @return the value of user.createTime
     *
     * @mbggenerated
     */
    public Long getCreatetime() {
        return createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.createTime
     *
     * @param createtime the value for user.createTime
     *
     * @mbggenerated
     */
    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.account
     *
     * @return the value of user.account
     *
     * @mbggenerated
     */
    public String getAccount() {
        return account;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.account
     *
     * @param account the value for user.account
     *
     * @mbggenerated
     */
    public void setAccount(String account) {
        this.account = account == null ? null : account.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.password
     *
     * @return the value of user.password
     *
     * @mbggenerated
     */
    public String getPassword() {
        return password;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.password
     *
     * @param password the value for user.password
     *
     * @mbggenerated
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.mobile_num
     *
     * @return the value of user.mobile_num
     *
     * @mbggenerated
     */
    public String getMobileNum() {
        return mobileNum;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.mobile_num
     *
     * @param mobileNum the value for user.mobile_num
     *
     * @mbggenerated
     */
    public void setMobileNum(String mobileNum) {
        this.mobileNum = mobileNum == null ? null : mobileNum.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.nickName
     *
     * @return the value of user.nickName
     *
     * @mbggenerated
     */
    public String getNickname() {
        return nickname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.nickName
     *
     * @param nickname the value for user.nickName
     *
     * @mbggenerated
     */
    public void setNickname(String nickname) {
        this.nickname = nickname == null ? null : nickname.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.portrait_url
     *
     * @return the value of user.portrait_url
     *
     * @mbggenerated
     */
    public String getPortraitUrl() {
        return portraitUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.portrait_url
     *
     * @param portraitUrl the value for user.portrait_url
     *
     * @mbggenerated
     */
    public void setPortraitUrl(String portraitUrl) {
        this.portraitUrl = portraitUrl == null ? null : portraitUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.gender
     *
     * @return the value of user.gender
     *
     * @mbggenerated
     */
    public Byte getGender() {
        return gender;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.gender
     *
     * @param gender the value for user.gender
     *
     * @mbggenerated
     */
    public void setGender(Byte gender) {
        this.gender = gender;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.birthday
     *
     * @return the value of user.birthday
     *
     * @mbggenerated
     */
    public Long getBirthday() {
        return birthday;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.birthday
     *
     * @param birthday the value for user.birthday
     *
     * @mbggenerated
     */
    public void setBirthday(Long birthday) {
        this.birthday = birthday;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.weight
     *
     * @return the value of user.weight
     *
     * @mbggenerated
     */
    public Integer getWeight() {
        return weight;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.weight
     *
     * @param weight the value for user.weight
     *
     * @mbggenerated
     */
    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.height
     *
     * @return the value of user.height
     *
     * @mbggenerated
     */
    public Integer getHeight() {
        return height;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.height
     *
     * @param height the value for user.height
     *
     * @mbggenerated
     */
    public void setHeight(Integer height) {
        this.height = height;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.name
     *
     * @return the value of user.name
     *
     * @mbggenerated
     */
    public String getName() {
        return name;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.name
     *
     * @param name the value for user.name
     *
     * @mbggenerated
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.id_number
     *
     * @return the value of user.id_number
     *
     * @mbggenerated
     */
    public String getIdNumber() {
        return idNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.id_number
     *
     * @param idNumber the value for user.id_number
     *
     * @mbggenerated
     */
    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber == null ? null : idNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.country
     *
     * @return the value of user.country
     *
     * @mbggenerated
     */
    public String getCountry() {
        return country;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.country
     *
     * @param country the value for user.country
     *
     * @mbggenerated
     */
    public void setCountry(String country) {
        this.country = country == null ? null : country.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.country_text
     *
     * @return the value of user.country_text
     *
     * @mbggenerated
     */
    public String getCountryText() {
        return countryText;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.country_text
     *
     * @param countryText the value for user.country_text
     *
     * @mbggenerated
     */
    public void setCountryText(String countryText) {
        this.countryText = countryText == null ? null : countryText.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.province
     *
     * @return the value of user.province
     *
     * @mbggenerated
     */
    public String getProvince() {
        return province;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.province
     *
     * @param province the value for user.province
     *
     * @mbggenerated
     */
    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.province_text
     *
     * @return the value of user.province_text
     *
     * @mbggenerated
     */
    public String getProvinceText() {
        return provinceText;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.province_text
     *
     * @param provinceText the value for user.province_text
     *
     * @mbggenerated
     */
    public void setProvinceText(String provinceText) {
        this.provinceText = provinceText == null ? null : provinceText.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.city
     *
     * @return the value of user.city
     *
     * @mbggenerated
     */
    public String getCity() {
        return city;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.city
     *
     * @param city the value for user.city
     *
     * @mbggenerated
     */
    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.city_text
     *
     * @return the value of user.city_text
     *
     * @mbggenerated
     */
    public String getCityText() {
        return cityText;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.city_text
     *
     * @param cityText the value for user.city_text
     *
     * @mbggenerated
     */
    public void setCityText(String cityText) {
        this.cityText = cityText == null ? null : cityText.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.district
     *
     * @return the value of user.district
     *
     * @mbggenerated
     */
    public String getDistrict() {
        return district;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.district
     *
     * @param district the value for user.district
     *
     * @mbggenerated
     */
    public void setDistrict(String district) {
        this.district = district == null ? null : district.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.district_text
     *
     * @return the value of user.district_text
     *
     * @mbggenerated
     */
    public String getDistrictText() {
        return districtText;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.district_text
     *
     * @param districtText the value for user.district_text
     *
     * @mbggenerated
     */
    public void setDistrictText(String districtText) {
        this.districtText = districtText == null ? null : districtText.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.detail_addr
     *
     * @return the value of user.detail_addr
     *
     * @mbggenerated
     */
    public String getDetailAddr() {
        return detailAddr;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.detail_addr
     *
     * @param detailAddr the value for user.detail_addr
     *
     * @mbggenerated
     */
    public void setDetailAddr(String detailAddr) {
        this.detailAddr = detailAddr == null ? null : detailAddr.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.signature
     *
     * @return the value of user.signature
     *
     * @mbggenerated
     */
    public String getSignature() {
        return signature;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.signature
     *
     * @param signature the value for user.signature
     *
     * @mbggenerated
     */
    public void setSignature(String signature) {
        this.signature = signature == null ? null : signature.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.reg_source
     *
     * @return the value of user.reg_source
     *
     * @mbggenerated
     */
    public Integer getRegSource() {
        return regSource;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.reg_source
     *
     * @param regSource the value for user.reg_source
     *
     * @mbggenerated
     */
    public void setRegSource(Integer regSource) {
        this.regSource = regSource;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user.status
     *
     * @return the value of user.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user.status
     *
     * @param status the value for user.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table user
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", createtime=").append(createtime);
        sb.append(", account=").append(account);
        sb.append(", password=").append(password);
        sb.append(", mobileNum=").append(mobileNum);
        sb.append(", nickname=").append(nickname);
        sb.append(", portraitUrl=").append(portraitUrl);
        sb.append(", gender=").append(gender);
        sb.append(", birthday=").append(birthday);
        sb.append(", weight=").append(weight);
        sb.append(", height=").append(height);
        sb.append(", name=").append(name);
        sb.append(", idNumber=").append(idNumber);
        sb.append(", country=").append(country);
        sb.append(", countryText=").append(countryText);
        sb.append(", province=").append(province);
        sb.append(", provinceText=").append(provinceText);
        sb.append(", city=").append(city);
        sb.append(", cityText=").append(cityText);
        sb.append(", district=").append(district);
        sb.append(", districtText=").append(districtText);
        sb.append(", detailAddr=").append(detailAddr);
        sb.append(", signature=").append(signature);
        sb.append(", regSource=").append(regSource);
        sb.append(", status=").append(status);
        sb.append("]");
        return sb.toString();
    }
}